import { lazy } from 'react'



export default {
  path: '/admin',
  name: 'admin',
  component: lazy(() => import('@/views/Admin')),
  children: [
    {
      path: '/admin/check',
      name: 'admin-check',
      component: lazy(() => import('@/views/Check'))
    },
    {
      path: '/admin/addfood',
      name: 'admin-addfood',
      component: lazy(() => import('@/views/AddFood'))
    },
  ]
}